:root {
    --neon-red: #ff003c;
    --neon-red-glow: 0 0 10px #ff003c, 0 0 20px #ff003c, 0 0 30px #ff003c, 0 0 40px #ff003c;
    --neon-red-dim: #990026;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #f5f5f5;
    --text-dim: #aaaaaa;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-color: rgba(255, 0, 60, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;

}

body {
    font-family: 'Orbitron', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 0, 60, 0.1) 0%, rgba(10, 10, 10, 1) 70%);
    pointer-events: none;
    z-index: -1;
}
.dropdown{
    display: none;
}
.dropdown li{
    padding: 10px;
}
.drop:hover .dropdown{

    margin: auto;
    width: fit-content;
    padding: 30px;
    top: 20%;
    background: #000000da;
    margin-top: 30vh;
    border-radius: 10px;
    display: grid;
       box-shadow: 0 0 40px rgba(255, 0, 60, 0.3);

}
/* Noise overlay for texture */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c4S8BAAAAAXklEQVRIiR3Myw3AIAwDQRDsAoSE9M/5l80ryMPoDXaWZ0d2uBvqKMG7v+f30WjYJ1ph9oL1vPQyomnoLdG54A+U9xvj+kETCG4tpRXwd1XeK8nYQmMJzAXD7rnnB6fCBz9LxgAKAAAAAElFTkSuQmCC');
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color:  #ffffff;
    transition: all 0.3s ease-in-out;
}

ul {
    list-style: none;
}

/* Neon Text Effects */
.neon-text {
    color:  #00f3ff;
    text-shadow: 0 0 5px #00f3ff, 0 0 10px #00f3ff, 0 0 15px #00f3ff, 0 0 20px #00f3ff;
    position: relative;
    display: inline-block;
}

.red-neon-text {
    color:#ff003c;
    text-shadow:  0 0 5px #ff003c, 0 0 10px #ff003c, 0 0 15px #ff003c, 0 0 20px #ff003c;
    position: relative;
    display: inline-block;
}

.glowing-text {
    color: #ffffff;
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px  #ff003c, 0 0 40px  #ff003c;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px  #ff003c, 0 0 40px  #ff003c;
    }
    50% {
        text-shadow: 0 0 15px #fff, 0 0 25px #fff, 0 0 35px  #ff003c, 0 0 50px  #ff003c, 0 0 65px  #ff003c;
    }
    100% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px  #ff003c, 0 0 40px  #ff003c;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

/* Header Styles */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 30px;
}

.menu li a {
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff003c;
    transition: all 0.3s ease-in-out;
    /* box-shadow:  0 0 5px #00f3ff, 0 0 10px #00f3ff, 0 0 15px #00f3ff, 0 0 20px #00f3ff; */
}

.menu li a:hover::after {
    width: 100%;
}

.menu li a.active {
    color:  #ff003c;
}

/* Neon Hover Effect */
.neon-hover:hover {
    color: #ff003c;
    /* text-shadow:  0 0 5px #00f3ff, 0 0 10px #00f3ff, 0 0 15px #00f3ff, 0 0 20px #00f3ff; */
}

/* Mobile Menu */
.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 150;
}

.bar1, .bar2, .bar3 {
    width: 100%;
    height: 3px;
    background-color:  #ffffff;
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu li a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Neon Effects */
.neon-text {
    color: #00f3ff;
    text-shadow:0 0 5px #00f3ff, 0 0 10px #00f3ff, 0 0 15px #00f3ff, 0 0 20px #00f3ff;
    position: relative;
    display: inline-block;
}

.logo .red-neon-text {
    color:  #ff003c;
    text-shadow:  0 0 5px #ff003c, 0 0 10px #ff003c, 0 0 15px #ff003c, 0 0 20px #ff003c;
    position: relative;
    display: inline-block;
}
.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    letter-spacing: 1px;
}

.neon-text:hover {
    text-shadow: var(--neon-red-glow);
}

.neon-btn {
    border: 2px solid var(--neon-red) !important;
    box-shadow: 0 0 5px var(--neon-red);
    color: var(--neon-red) !important;
    font-weight: bold;
}

.neon-btn:hover {
    box-shadow: var(--neon-red-glow);
    text-shadow: 0 0 5px var(--neon-red);
    background-color: rgba(255, 0, 60, 0.1) !important;
}

/* Header Styles */
/* header {
    background-color: var(--bg-darker);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(255, 0, 60, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
} */

.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger-menu .bar {
    height: 3px;
    width: 100%;
    background-color: var(--neon-red);
    border-radius: 10px;
    box-shadow: 0 0 5px var(--neon-red);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* background: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.7)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230a0a0a"/><path d="M0 50 L100 50 M50 0 L50 100" stroke="%23ff003c" stroke-width="0.5" stroke-opacity="0.2"/></svg>'); */
    background-size: cover;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-dim);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-light);
}

/* Section Styling */
section {
    padding: 80px 5%;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
}

.feature-card i {
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--neon-red);
}

.feature-card p {
    color: var(--text-dim);
}

/* Converter Section */
.converter-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 1200px) {
    .converter-container {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

.editor-container, .options-container, .preview-container {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.editor-header h3 {
    color: var(--neon-red);
}

.code-editor-wrapper {
    position: relative;
    height: 200px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

#html-input, #css-input {
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: rgba(5, 5, 5, 0.9);
    color: var(--text-light);
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    resize: none;
    border: none;
    line-height: 1.5;
    tab-size: 4;
}

#line-numbers, #css-line-numbers {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.7);
    text-align: right;
    padding: 10px 5px;
    color: var(--text-dim);
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.5;
    user-select: none;
    overflow: hidden;
}

/* Options Styling */
.options-group {
    margin-bottom: 25px;
    background-color: rgba(30, 30, 30, 0.5);
    padding: 15px;
    border-radius: 8px;
}

.options-group h4 {
    color: var(--neon-red);
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.option label {
    flex: 1;
}

.option input, .option select {
    flex: 1;
    padding: 5px 10px;
    background-color: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    border-radius: 5px;
}

.option input[type="color"] {
    padding: 0;
    width: 50px;
    height: 30px;
    background: none;
}

.option input[type="range"] {
    flex: 0.8;
}

.option span {
    flex: 0.2;
    text-align: right;
}

.shadow-options {
    display: none;
}

/* Preview Styling */
#preview-wrapper {
    height: 400px;
    background-color: #fff;
    border-radius: 5px;
    overflow: auto;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.2);
}

#preview-frame {
    width: 100%;
    min-height: 100%;
    background-color: white;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.action-buttons button {
    flex: 1;
}

/* Result Section */
.result-section {
    padding-top: 40px;
    padding-bottom: 80px;
}

.result-section.hidden {
    display: none;
}

.result-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#result-image-container {
    max-width: 100%;
    overflow: auto;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.3);
}

#result-image {
    max-width: 100%;
    height: auto;
    display: block;
}

.download-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

 
/* Responsive Design */
@media screen and (max-width: 992px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .converter-container {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media screen and (max-width: 768px) {
    header {
        padding: 15px 5%;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-darker);
        transform: translateY(-200%);
        transition: transform 0.4s ease;
        z-index: -1;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav.active {
        transform: translateY(0);
        z-index: 999;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
        padding: 12px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .download-options {
        flex-direction: column;
        width: 100%;
    }
    
    .download-options button {
        width: 100%;
    }
}

/* Animation */
@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 5px var(--neon-red), 0 0 10px var(--neon-red);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

.neon-flicker {
    animation: neon-flicker 3s infinite;
}

footer {
     background-color: rgba(10, 10, 10, 0.9);
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.neon-border-top {
    border-top: 2px solid var(--neon-red);
    box-shadow: 0 -5px 15px rgba(255, 7, 58, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-section h3 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    text-decoration: none;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #FF3131;
    text-shadow: 0 0 3px #ff073a;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    margin-right: 15px;
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 7, 58, 0.2);
    font-size: 0.9rem;
}



@media (max-width: 768px) {
    .menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    .header-container {
        height: 70px;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
